package com.azier.kapacitor.script.method;

import com.azier.kapacitor.script.arg.SingleQuotesArg;

import java.util.ArrayList;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/
public class Tags extends AbstractMethod {
    private static final String name = "tags";
    /**
    Convert the result of an expression into a tag. The result must be a string. Use the expression function to convert types.
    **/
    /**
    将表达式的结果转换为标签。结果必须是字符串。使用表达式函数转换类型。
    **/
    public Tags(String ...names) {
        super(new ArrayList<>(), name);
        //
        for(String argf : names){
            this.args.add(new SingleQuotesArg(argf));
        }


    }
}
